Skip to content

Conversation

@ezequielm
Copy link

No description provided.

thomasdashney and others added 28 commits August 29, 2014 21:24
Was previously failing as follows because an array
has no "callbacks" property.

oauth2-server/lib/oauth2server.js:217
  app.routes[method].callbacks.forEach(lockdownExpress3);
                                 ^
TypeError: Cannot call method 'forEach' of undefined
  at OAuth2Server.lockdown (oauth2-server/lib/oauth2server.js:217:36)
Minor grammar error
changed error handler res.send to fix express deprecation warnings
Update docs for model function getAccessToken
Fix lockdown pattern for array of routes in express 3
Preivously the extended grant function only had access the client
credentials in the body, which could be different to the actual
authenticated client. This fix exposes the authenticated credentials
in req.oauth.client
- Currently supports password and refresh_token grants
…lient-creds-to-extended-grant

Expose validated client for extended grant
…t-allow-any-uri

Allow any valid URI for extension grants
…headers

Set Cache-Control and Pragma Headers
Conflicts:
	Readme.md
	lib/error.js
	lib/grant.js
	lib/oauth2server.js
	package.json
@jonsharratt
Copy link

👍

@markotom
Copy link

Please, merge :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants